package org.icosagon.core.items;

/**
 *
 * @author Daniel Owens
 */
public class Equipment extends Item {
    public static final String SMALL = "SMALL", MEDIUM = "MEDIUM", LARGE = "LARGE";
    //Add proficiency
    //Made of X material

    private String size = "MEDIUM";

    public void setSize(String value) {
        if(value.equalsIgnoreCase("small") || value.equalsIgnoreCase("sm"))
            this.size = SMALL;
        else if(value.equalsIgnoreCase("medium") || value.equalsIgnoreCase("med"))
            this.size = MEDIUM;
        else if(value.equalsIgnoreCase("large") || value.equalsIgnoreCase("lg"))
            this.size = LARGE;
        return;
    }

    public String getSize() {
        return this.size;
    }
}